<div th:fragment="jingfeipici_edit">
<div id="jingfeipiciModal" style="" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-keyboard="false">
    <div class="modal-dialog modal-md" style="width:1000px;" id="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel"></h4>
            </div>
            <div class="modal-body" style="overflow: auto;" id="myModalBody">

                <form class="form-horizontal m" id="form-jingfeipicidetail-edit" th:object="${jingfeiPiciDetail}">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">经费批次名称：</label>
                        <div class="col-sm-8">
                            <input class="form-control" type="text" v-model="jingfeipici.jingfeipicimingcheng" placeholder="请输入批次名称">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">开始年月：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="kaishinianyue" class="form-control" placeholder="yyyy-MM" onclick="WdatePicker({dateFmt:'yyyy-MM'})" v-model="jingfeipici.kaishinianyue" id="kaishinianyue" @blur="getKaishinianyue">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">结束年月：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="jieshunianyue" class="form-control" placeholder="yyyy-MM" onclick="WdatePicker({dateFmt:'yyyy-MM'})" v-model="jingfeipici.jieshunianyue" id="jieshunianyue" @blur="getJieshunianyue">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">截止时间：</label>
                        <div class="col-sm-8">
                            <div class="input-group date">
                                <input name="jisuanshijian" class="form-control" placeholder="yyyy-MM-dd" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" v-model="jingfeipici.jisuanshijian" id="jisuanshijian" @blur="getJiezhishijian">
                                <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                            </div>
                        </div>
                    </div>
<!--                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否当前批次：</label>
                        <div class="col-sm-8">
                            <input type="checkbox" id="shifoudangqianpici" ref="shifoudangqianpici"/>
                        </div>
                    </div>-->
                </form>

            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" @click="add" v-if="editflag==1">保存</button>
                <button type="button" class="btn btn-primary" @click="modify" v-if="editflag==2">保存</button>
            </div>
        </div>
    </div>
</div>
</div>